<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-image: url(bg.jpg);
            background-position: center 40px;
            background-repeat: no-repeat;
            font-size: 30px;
            color: lavender;
            background-attachment: fixed;
        }
        a {
            text-indent: 2em;
            line-height: 40px;
            display: inline-block;
            /* background-color: #55585a; */
            width: 250px;
            height: 40px;
            color: #fff;
            text-decoration: none;
            background: rgba(0, 0, 0, 0.5);
        }
        a:hover {
            background-color: #3a80a2;
        }
        div {
            width: 300px;
            height: 300px;
            background-color: #888;
            background: rgba(0, 0, 0, 0.5);
        }
    </style>
</head>
<body>
    <a href="">1</a><a href="">2</a><a href="">3</a><a href="">4</a><a href="">5</a><a href="">6</a>
    <br>
    <div></div>
</html>